package cn.itcast.day06.demo02;

public class Demo01ExtendsField {
    public static void main(String[] args) {
        Fu fu=new Fu();
        System.out.println(fu.numFu);
        Zi zi=new Zi();
        System.out.println(zi.numFu);
        System.out.println(zi.numZi);
        System.out.println("===================");
        System.out.println(zi.num);
        System.out.println("===================");
        zi.methodZi();
        zi.methodFu();
    }
}
